<template>
	<view>
		<test></test>
		<view>导航跳转的学习</view>
		<button @click="godetail">跳转至详情页</button>
		<button type="primary" @click="gojsplumb">跳转至jsplumb页</button>
		<button type="primary" @click="gomessage_board">跳转留言板</button>
	</view>
	
</template>
<script>
	import test from '../../components/test.vue'
	export default{
		methods:{
			godetail(){
				uni.navigateTo({
					url:'../detail/detail'
				})
			},
			gojsplumb(){
				uni.navigateTo({
					url:'../jsplumb/jsplumb'
				})
			},
			gomessage_board(){
				uni.navigateTo({
					url:'../page3/message_board'
				})
			}
			
		},
	components:{
		test 
	}
	}
</script>
<style>
</style>
